#pragma once 
#include "Iterator.h"
#include "Book.h"
#include "BookShelf.h"

class BookShelfIterator : public Abstract::Iterator<Book>
{
private:
    BookShelf* bookShelf;
    unsigned int index;
public:
    ~BookShelfIterator();
    BookShelfIterator(BookShelf* b);
    bool hasNext() override;
    Book next() override;
};
